/**
 * User: zsquirrel
 * Date: 2020/5/1
 * Time: 10:12 上午
 */
package com.cskaoyan.mall.service;

import com.cskaoyan.mall.model.bo.ChangeOrderBO;
import com.cskaoyan.mall.model.bo.OrderRequestParamBO;
import com.cskaoyan.mall.model.bo.PlaceOrderBO;
import com.cskaoyan.mall.model.vo.OrderInfoVO;
import com.cskaoyan.mall.model.vo.OrderResponseVO;
import com.cskaoyan.mall.model.vo.StateOrderVO;

import java.util.List;

public interface OrderService {
    OrderResponseVO ordersByPage(OrderRequestParamBO param);

    OrderInfoVO getOrderInfo(String id);

    void changeOrder(ChangeOrderBO changeOrderBO);

    void deleteOrder(String id);

    void placeOrder(PlaceOrderBO placeOrderBO);

    List<StateOrderVO> getOrderByState(String state, String token);
}
